package com.mysite.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.mysite.po.User;

public interface UserMapper {

	User getUserById(int id);
	
	int insertUser(User u);
	
	int updateUser(User u);
	
	List<User> getUsers1(Map<String, Object> map);
	
	List<User> getUsers2(User u);
	
	int deleteUser (Integer id);
	
	int checkUser(User u);

	List<User> getUsersByCondition(Map<String, Object> map);
}
